<#include "../../head.ftl">
<div class="page_title">客户服务管理 &gt; 服务处理</div>
<div class="button_bar">
    <button class="common_button" onclick="help('');">帮助</button>
    <button class="common_button" onclick="document.forms[0].submit();">查询</button>
</div>
<form action="${base}/server/arch" method="get">
    <table class="query_form_table">
        <tr>
            <th height="28">客户</th>
            <td><input type="text" name="name" value=""/></td>
            <th height="28">概要</th>
            <td><input type="text" name="outline" value=""/></td>
            <th height="28">服务类型</th>
            <td>
                <select name="type">
                    <option value="">全部</option>
				<#list serverList as servername>
				    <option value="${servername.items}">${servername.items}</option>
                </#list>
                </select>
            </td>
        </tr>
        <tr>
            <th height="32">创建日期</th>
            <td colspan="3">
                <input type="date" name="begintime" size="10" /> - <input type="date" name="endtime" size="10" /></td>
            <th height="32">状态</th>
            <td>
                <select name="status">
                    <option value="2">已分配</option>
                </select>
            </td>
        </tr>
    </table>
    <input type="hidden" id="number" name="number" value=""/>
    <br />
</form>
<table class="data_list_table">
    <tr>
        <th>编号</th>
        <th>客户</th>
        <th>概要</th>
        <th>服务类型</th>
        <th>创建人</th>
        <th>创建日期</th>
        <th>操作</th>
    </tr>

	<#list page.content as server>
	    <tr>
            <td class="list_data_number">${server.id}</td>
            <td class="list_data_text">${server.name}</td>
            <td class="list_data_ltext">${server.outline}</td>
            <td class="list_data_text">${server.type}</td>
            <td class="list_data_text">${server.appointUser.name}</td>
            <td class="list_data_text">${server.createtime?string("yyyy年MM月dd日")}</td>
            <td class="list_data_op">
                <a href="${base}/server/queryDeal?id=${server.id}">
                    <img title="处理" src="${base}/images/bt_deal.gif" class="op_button"/>
                </a>
        </tr>
    </#list>
    <tr>
        <th colspan="7" class="pager">
<#include "../../foot.ftl">